package com.jkm.boss.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.jkm.boss.service.ProductService;
import com.jkm.boss.entity.Product;
import com.jkm.boss.dao.ProductDao;

import java.util.List;

/**
 * Created by shitou on 17/4/21.
 */
@Service
public class ProductServiceImpl implements ProductService {

    @Autowired
    private ProductDao productDao;

    @Override
    public List<Product> selectAll() {
        return this.productDao.selectAll();
    }
}
